/**
 * CS575 Software Design
 * Group 6
 * Group Members: Anthony Davidson, Kendra Scheesley, Lyndsey Whitman, Stephen Zakrewsky
 * Date: May 19, 2012
 * Main Author(s): Stephen Zakrewsky
 */
package edu.drexel.cs575.a3;

public class WeighingMechanism
{
	
	private WeightAlgorithm weightAlg;
	
	public WeighingMechanism()
	{
		this.weightAlg = new NewtonsWeightAlgorithm();
	}
	
	public double addItem(double mass)
	{
		return weightAlg.calculateWeight(mass);
	}
	
}
